package com.bbcare.nutritious.plat.entity;
import java.io.Serializable;

import javax.persistence.Entity;

   /**
    * pt_bloodsugar_record 实体类
    * Tue Nov 07 15:03:55 CST 2017 ******
    */ 


@Entity
public class PtBloodsugarRecord  implements Serializable {
	private static final long serialVersionUID = 1L;
	private String id;
	private String userId;
	private String tenantId;
	private String createAuthor;
	private String createTime;
	private String remark1;
	//测量时间
	private String testTime;
	//血糖值
	private double sugarValue;
	//修改时间
	private String updateTime;
	//his表修改类型
	private String updateType;
	//测量日期
	private String testDate;
	//测量时间段,1空腹,2早餐后2小时,3早餐前,4午餐后2小时,5午餐前,6晚餐后2小时,7晚餐前,8其他
	private int timeSlot;
	/*******************以上为表字段**********************/
	//开始日期查询条件
	public String startDate;
	//结束日期查询条件
	public String endDate;
	//患者姓名
	public String userName;
	//患者手机
	public String phoneNo;
	/*******************分页参数************************/
	public int pageSize; //每页记录数
	public int curPage; //当前页数
	public int startNum; //开始位置
	
	 
	
	public String getTestDate() {
		return testDate;
	}

	public void setTestDate(String testDate) {
		this.testDate = testDate;
	}

	public int getTimeSlot() {
		return timeSlot;
	}

	public void setTimeSlot(int timeSlot) {
		this.timeSlot = timeSlot;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getCurPage() {
		return curPage;
	}

	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}

	public int getStartNum() {
		return startNum;
	}

	public void setStartNum(int startNum) {
		this.startNum = startNum;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateType() {
		return updateType;
	}

	public void setUpdateType(String updateType) {
		this.updateType = updateType;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	private String deviceId;

	public void setId(String id){
		this.id=id;
	}

	public String getId(){
		return id;
	}

	public void setUserId(String userId){
		this.userId=userId;
	}

	public String getUserId(){
		return userId;
	}

	public void setTenantId(String tenantId){
		this.tenantId=tenantId;
	}

	public String getTenantId(){
		return tenantId;
	}

	public void setCreateAuthor(String createAuthor){
		this.createAuthor=createAuthor;
	}

	public String getCreateAuthor(){
		return createAuthor;
	}

	public void setCreateTime(String createTime){
		this.createTime=createTime;
	}

	public String getCreateTime(){
		return createTime;
	}

	public void setRemark1(String remark1){
		this.remark1=remark1;
	}

	public String getRemark1(){
		return remark1;
	}

	public void setTestTime(String testTime){
		this.testTime=testTime;
	}

	public String getTestTime(){
		return testTime;
	}

	public void setSugarValue(double sugarValue){
		this.sugarValue=sugarValue;
	}

	public double getSugarValue(){
		return sugarValue;
	}
}

